package cn.java76.springboot.demo1.controller;

import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

/**
 * @author oldliu
 * @since 1.0
 */
//不建议jsp
@RestController
public class HelloController {
    @RequestMapping("sayhi")
    public String sayhi(){
        return "hello,spring boot";
    }
}
